import cloneDeep from 'lodash/cloneDeep.js'
import merge from 'lodash/merge.js'

export const deepClone = (value) => cloneDeep(value)

export const deepMerge = (...sources) => {
  return merge({}, ...sources)
}

export default {
  deepClone,
  deepMerge,
}

